package org.tobuy.servlet;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.Timer;
import org.tobuy.task.ScanTask;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class ScanAuction extends HttpServlet {

	public void init() throws ServletException{
		
		Timer timer = new Timer();
		ScanTask scanTask = new ScanTask();
		timer.schedule(scanTask, 1000, 5000);
		
	}

}
